<?php
namespace app\tp\controller;
// use think\config;
// use think\Request;

use think\Controller;     //这两个同时出现

class Index7  extends Controller  //这两个同时出现 //这两个同时出现
{
   
public function index1(){
	echo 'http://www.2018a.com/47.94.136.51/t5/public/note.php/tp/Index7/index1';
}
private static $count = 0 ; //记录所有用户的登录情况.  
public $count1 = 0;
static $kai = 'static 下的函数';

public function __construct() {  
 self::$count = self::$count + 1;  
 $this->count1 = $this->count1+1;
}  



public function getcount() {  
 dump($this->count1);
	return self::$count;  

}  
public function __destruct() {  
 self::$count = self::$count - 1;  
}  


	
}